
/*
 * @Descripttion: 登录模块
 * @version: 
 * @Author: hzx
 * @Date: 2021-02-25 17:41:21
 * @LastEditors: hzx
 * @LastEditTime: 2021-03-06 15:14:28
 */
module.exports = app => {
    const { router, controller } = app;
    router.get('/user/index', controller.login.login.index);
    router.post('/user/studentLogin', controller.login.login.studentLogin);
    router.post('/user/teacherLogin',controller.login.login.teacherLogin);
}